/*
 * @Author: zhangweinan
 * @Date: 2023-07-18 13:25:12
 * @LastEditors: zhangweinan
 * @LastEditTime: 2023-07-20 00:10:37
 * @Description: file content
 * @FilePath: \cty-admin\src\views\dataAnalysis\config\search.config.js
 */

import {BAND_WITH_STATUS, ORDER_TYPE} from "@/config/enum";


export const searchFormConfig = {
  exportBtn: true,
  labelWidth: "80px",
  itemLayout: {
    padding: "10px 40px",
  },
  formItems: [
    {
      field: "sn",
      type: "input",
      label: "设备编号",
      placeholder: "请输入设备编号",
    },
    {
      field: "calculationStatus",
      type: "select",
      label: "结算状态",
      placeholder: '请选择结算状态',
      options: BAND_WITH_STATUS
    },
    {
      field: "workDate",
      type: "datepicker",
      label: "日期",
      otherOptions: {
        placeholder: "选择日期",
        type: 'date',
        valueFormat: "yyyy-MM-dd"
      }
    },
  ],
};
export const searchFormConfigDev = {
  labelWidth: "120px",
  itemLayout: {
    padding: "10px 40px",
  },
  formItems: [
    {
      field: "phone",
      type: "input",
      label: "用户手机号",
      placeholder: "请输入手机号",
    },
  ],
};
